import os
image_dir = 'image'

def filepath(filename):
    return os.path.join(image_dir, filename)

def load(filename, mode='rb'):
    return open(os.path.join(image_dir, filename), mode)